package com.star.controller;

import com.star.mapper.WalletMapper;
import com.star.pojo.vo.WalletOV;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Slf4j
@RestController
@RequestMapping("/wallet")
public class WalletController {
    @Autowired
    private WalletMapper Mapper;

    @RequestMapping("/walletselect")
    public  List<WalletOV> walletselect(){
        log.warn("VG更丰富的费用");
        List<WalletOV> ovs = Mapper.listWallet();
        System.out.println(ovs);
        return ovs;
    }

}
